package com.opensource.lzx.entity;

import com.opensource.lzx.annotation.GeneralValid;
import com.opensource.lzx.enums.ValidType;

import java.util.List;

/**
 * @Author: 739891618@qq.com
 * @Date: 2022-11-16 21:55:23
 * @ClassName: ChildVO
 * @Describe: this is a ...
 */
public class ChildVO {
    @GeneralValid
    private String dept;

    @GeneralValid
    private List<String> values;

    @GeneralValid(valid = ValidType.RANGE_VALID, range = {"BD", "JD", "AL"})
    private String deptType;

    public String getDept() {
        return dept;
    }

    public void setDept(String dept) {
        this.dept = dept;
    }

    public List<String> getValues() {
        return values;
    }

    public void setValues(List<String> values) {
        this.values = values;
    }

    public String getDeptType() {
        return deptType;
    }

    public void setDeptType(String deptType) {
        this.deptType = deptType;
    }
}
